package com.example.shishaolong.warehousemanager.entity;

/**
 * 货物实体类
 * @author 时少龙
 */
public class GoodsEntity {

    private int id;
    private String name;
//    private int allNum;
//    private int currentNum;
    private String receivePerson;
    private String describe;
    private String buyerName;
    private String storageDate;
    private String outDate;
    private String modifyDate;
    private boolean checked;

    public GoodsEntity(int id, String name, String receivePerson, String describe, String buyerName, String storageDate, String outDate, String modifyDate, boolean checked) {
        this.id = id;
        this.name = name;
        this.receivePerson = receivePerson;
        this.describe = describe;
        this.buyerName = buyerName;
        this.storageDate = storageDate;
        this.outDate = outDate;
        this.modifyDate = modifyDate;
        this.checked = checked;
    }

    public GoodsEntity() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getReceivePerson() {
        return receivePerson;
    }

    public void setReceivePerson(String receivePerson) {
        this.receivePerson = receivePerson;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getBuyerName() {
        return buyerName;
    }

    public void setBuyerName(String buyerName) {
        this.buyerName = buyerName;
    }

    public String getStorageDate() {
        return storageDate;
    }

    public void setStorageDate(String storageDate) {
        this.storageDate = storageDate;
    }

    public String getOutDate() {
        return outDate;
    }

    public void setOutDate(String outDate) {
        this.outDate = outDate;
    }

    public String getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(String modifyDate) {
        this.modifyDate = modifyDate;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    @Override
    public String toString() {
        return "GoodsEntity{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", receivePerson='" + receivePerson + '\'' +
                ", describe='" + describe + '\'' +
                ", buyerName='" + buyerName + '\'' +
                ", storageDate='" + storageDate + '\'' +
                ", outDate='" + outDate + '\'' +
                ", modifyDate='" + modifyDate + '\'' +
                ", checked=" + checked +
                '}';
    }

}
